home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 7
/
Aminet 7 - August 1995.iso
/
Aminet
/
comm
/
mebbs
/
fuslist211.lha
/
fuslist_2.11
/
FusList.doc
< prev
next >
Wrap
Text File
|
1994-09-01
|
11KB
|
298 lines
****************************************************************************
* *
* FusList 2.5 by Robert Wahlström 94-Sep-01 *
* *
* Copyright (C) 1994 by Robert Wahlström All rights reserved. *
* *
* FusList is a file list generating program for MEBBS BBS software. *
* *
* Written in SAS C 6.51 with CygnusED Pro and CHELP on Amiga 4000. *
* *
* Robert Wahlström *
* Enehagsg 197 *
* S-441 57 ALINGSÅS SWEDEN *
* *
* Usenet: d0robert@dtek.chalmers.se *
* Fidonet: Robert Wahlstrom@2:203/316.0 *
* Amiganet:Robert Wahlstrom@39:160/303.0 *
* *
* *
* UtilityBase +46-322-17877 (v32"+16.8k HST) 2:203/316.0 39:160/303.0 *
* *
****************************************************************************
$VER: FusList.doc 2.5 (94-Sep-01) by Robert Wahlström, Kjell Harnesk
FusList 2.5 by Robert Wahlström
1. INTRODUCTION
===============
WHAT IS FusList?
FusList is a file list generating program for MEBBS BBS software.
It differs from most other lister programs in its configurability. It
is powerful in both the way You select what areas to list and the way they
are listed. All fields and characters between fields are Your choice. You
can have as many diffrent setups as You like to generate diffrent lists
for diffrent purposes.
2. LICENSE
==========
This material is © Copyright 1994 by Robert Wahlström -- All rights reserved.
It may be distributed freely as long as the following restrictions are met:
The distributor may charge a fee to recover distribution costs. The fee for
diskette distribution should not be more than the cost to obtain the same
diskette from Fred Fish.
The distributor agrees to cease distributing the programs and data involved
if requested to do so by the authors.
You may copy and distribute verbatim copies of the program's executable code
and documentation as you receive it, in any medium, provided that you
conspicuously and appropriately publish only the original, unmodified program,
with all copyright notices and disclaimers of warranty intact and including
all the accompanying documentation, example files and anything else that came
with the original.
The author will not be liable for any damage arising from the failure of this
program to perform as described, or any destruction of other programs or data
residing on a system attempting to run the program. While I know of no
damaging errors, the user of this program uses it at his or her own risk.
REQUIREMENTS
============
AmigaDos 2.04 or above.
mebbsutility.library 1.10
INSTALLING
==========
Put the FusList drawer anywhere.
RUNNING
=======
FusList uses five files for formatting the output file. These are:
*.header - The header for the total list.
*.footer - The footer for the total list
*.beg - The header for each area
*.end - The footer for each area
*.main - The design file for the actual filelist
Let's say You would like to generate two diffrent file lists. One for Your
normal users and one for Your privileged users. You can then for example
create two set of files, one called normal.header, normal.footer etc... and
one set called priv.header, priv.footer etc...
When You run FusList You just use "normal" or "priv" as infile without the
.footer .header etc... extension. Examples will be given further down in
this manual.
FusList takes the following arguments:
Usage: FusList <infile> <outfile> [options] [all] [level<XX] [<area #>] [<...>]
[options]:
[-a] - Alphbetical sort
[-A] - Reversed alphabetical sort
[-c] - Chronological sort
[-C] - Reversed chronological sort
[-e] - Check if file exists
[-n<n>] - <n> days to list
[-#] - Don't list area #
[+#] - Also list area #
[all] - Lists all fileareas (1 to 256)
[area] - Lists [area]. (If used with [all] [area] is excluded)
<infile> - Infile path/name
<outfile> - Outfile path/name
Examples:
FUSLIST t ram:list ALL - list all areas to ram:list
FUSLIST t ram:list ALL -n15 - list all areas to ram:list (files newer
than 16 days)
FUSLIST t ram:list 9 12 14 - list only areas 9 12 14
FUSLIST t ram:list 1 11-19 - list area 1 11 12 13 14 15 16 17 18 19
FUSLIST t ram:list ALL 9 12 14 - list all areas except 9 12 14
FUSLIST t ram:list LEVEL<6 - list all areas with access level less than 6
FUSLIST t ram:list level<2 -36 +40 - List areas with access level less
than 2 BUT NOT area 36 and ALSO list area 40.
(In these examples, the t for infile means that a set of files named
t.header, t.footer, t.beg, t.end and t.main will be used.)
Here are the keywords that can be used for the list formatting:
KeyWord Length Desc
=======================================
Keywords for *.main (the actual filelist)
---------------------------------------
<filename> 12 Filename for the file. 8+3 format ex: "File .lha"
<filename2> 12 Filename for the file ex: "File.lha "
<path> x Complete path for the file
<level> 2 Minimun access level to download file
<dn> 3 Number of downloads
<date> 6 Date for the file. Format yymmdd
<datex> - Date for the file. See 1) for format/length
<time> 5 Time for the file. Format hh:mm
<timex> - Time for the file. See 2) for format/length
<size> 7 Filesize in bytes
<sizekb> 4 Filesize in kb.
<des1> 50 File description line 1
<des2> 50 File description line 2
<uploader> 20 Name of uploader
<free> 3 Free download?
<unvalid> 3 Unvalid file?
<num> 3 Filenumber
<if_des2> 50 Only print this line if second line description exists.
---------------------------------------
Keywords for *.beg, *.end (header and footer for each filearea)
---------------------------------------
<name> 32 Filarea name
<level> 2 Filarea accesslevel
<bytes> 9 Number of bytes in area
<kbytes> 6 Number of kb in area
<mbytes> 6 Number of Mb in area
<dls> 4 Number of downloads from area.
<files> 4 Number of files in area
<kbytedl> 6 Number of kb downloaded from area
<mbytedl> 6 Number of Mb downloaded from area
<topname> 12 Name of most downloaded file in area
<toptimes> 4 Number of times the above file has been downloaded
<topuploader> 20 Name of uploader of the above file
---------------------------------------
Keywords for *.header och *.footer (header and footer for the total list)
---------------------------------------
<bytes> 9 Total bytes in all areas
<kbytes> 6 Total kb in all areas
<mbytes> 6 Total Mb in all areas
<dls> 4 Total downloads
<kbytedl> 6 Total kb downloaded from all listed areas
<mbytedl> 6 Total Mb downloaded from all listed areas
<files> 4 Total number of files
<date> 6 Date in format yymmdd
<time> 5 Time in format hh:mm
<topname> 12 Most downloaded file from all areas
<toptimes> 4 Number of times the above file has been downloaded.
<topuploader> 20 Name of uploader of the above file
---------------------------------------
General (can be used anywhere)
---------------------------------------
<syscalls> 5 - Total cals to the BBS
<version> 4 Versionsnumber of FusList ex 2.2
1)
Format Längd EX:
-------------------------------------
<time1> hhmmss 6 212756
<time2> hh:mm:ss 8 21:27:56
<time5> hh:mm 5 21:27
<time6> hr:mm:ss HH 11 9:27:56 PM
<time7> hr:mm HH 8 9:27 PM
The hh, mm, ss and dd terms are simply the 2-digit (BCD or ASCII)
equivalents of the binary values in the time array. The hr term is
the 2-digit hour using the 12-hour form, and the HH term is either AM
or PM.
2)
Format Längd Ex:
--------------------------------------------
<date1> yymmdd 6 921224
<date2> mm/dd/yy 8 12/24/92
<date3> mm-dd-yy 8 12-24-92
<date4> MMM d, yyyy 12 DEC 24, 1992
<date5> Mm...m d, yyyy 18 December 24, 1992
<date6> dd MMM yy 9 24 DEC 92
<date7> dd MMM yyyy 11 24 DEC 1992
<date8> dd/mm/yy 8 24/12/92
In the above formats, MMM represents a 3-character month abbreviation
in capitals, and Mm...m represents the full month name (e.g. January).
The mm, dd and yy terms are 2-character month, day, and year,
respectively, while d is the date with the leading zero suppressed.
The yyyy term is the 4-character year obtained by adding 1980 to the
first byte of the date array.
7. ADDRESSES AND PHONENUMBERS
=============================
If You have any questions, suggestions or bug-reports, please contact us.
NetMail, snailmail, voice or logging on to our support bbs's.
Here are addresses and phonenumbers:
Robert Wahlstrom
Enehagsg 197
S-441 57 ALINGSÅS
SWEDEN
phone: +46 (0)322-183 31
Support BBS:
UtilityBase
+46 (0)322-178 77
24h 16800 baud HST, V32 bis
Fido: 2:203/316.0 Amiganet: 39:160/105
Usenet: d0robert@dtek.chalmers.se
8. CREDITS
==========
Thanks to the following for hints, suggestions and debugging:
Rikard & Fredrik Thulin - Original idea. Thanks for sourcecode to SLX.
Kjell Harnesk - Documentation, alfatesting, many ideas.
Kjell Cederfeldt - Alfatesting.
Mikael Johansson - Alfatesting, new ideas
Stefan von Straten - Mebbs support Sweden.
9 Other programs by Robert Wahlström
=====================================
FusAC - Areafix for MEBBS
FusTick - Program that handles file echo .tic files for MEBBS.
FusEd - A fullscreen editor for MEBBS
Chelp - A help program for programmers - Lookup functions in autodocs
and strcuts/defines in includefiles
Ast - Astronomyprogram (beta only)